package cn.hancloud.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
/*@EnableDiscoveryClient
@EnableApolloConfig*/
@RestController
public class DockerTestController {

    @RequestMapping("/get")
    public String getFoo() {
        return "hello world！";
    }

    public static void main(String[] args) {
        SpringApplication.run( DockerTestController.class, args );
    }
}
